﻿using System;
using WindowsPhoneEssentials.Abstractions;

namespace WindowsPhoneEssentials.Testing.Abstractions
{
    public class MemoryIsolatedStorateFileFactory : IIsolatedStorageFileFactory
    {
        private MemoryIsolatedStorageFile getUserStoreForApplication;

        public IIsolatedStorageFile GetUserStoreForApplication()
        {
            return getUserStoreForApplication ?? (getUserStoreForApplication = new MemoryIsolatedStorageFile());
        }
    }
}